// 自定义的对象类型
let boss = {
    name:'文化',
    age:22,
    phone:'110'
}

// 新的关键词，interface
interface Boss{
    name:string;
    age:number;
    phone:string;
}

// 这就代表boss1是下面这个Boss类型的
let boss1:Boss = {
    name:'张三',
    age:33,
    phone:'110'
}